package com.chenlixian.fishandbearpaw.service;

import com.chenlixian.fishandbearpaw.entity.Dto.CommentDto;
import com.chenlixian.fishandbearpaw.entity.Dto.CreateShareDto;
import com.chenlixian.fishandbearpaw.entity.Dto.ShareDto;
import com.chenlixian.fishandbearpaw.entity.Vo.CommentVo;
import com.chenlixian.fishandbearpaw.entity.Vo.GeneralVO;
import com.chenlixian.fishandbearpaw.entity.Vo.MessageVo;
import com.chenlixian.fishandbearpaw.entity.Vo.ShareVo;

import java.util.List;

public interface ShareService {
    List<ShareVo> queryShare(ShareDto shareDto);
    Integer vote(String imgId,Integer userId,Integer opUserId);
    List<CommentVo> queryAllComment(String shareId);
    Integer addComment(CommentDto commentDto);
    GeneralVO create(CreateShareDto createShareDto);
    Integer queryMessage(Integer userId);
    Integer clearMessage(Integer userId);
    List<MessageVo> getMessage(Integer userId);
}
